Skip to main content

sales_opportunities_v1

Sales opportunity captures details of a potential customer and their journey from initial enquiry through to placing their first order.

ColumnData typeDescription
idNUMBER(38,0)The unique identifier of the sales opportunity.
referenceVARCHAR(80)The reference of the sales opportunity inputted as free text.
statusVARCHAR(50)The status of the sales opportunity that identifies if the sales opportunity is 'Open', 'On Hold', 'Completed - Won' or 'Completed - Lost'.
stageVARCHAR(100)The stage of the sales opportunity. Stage provides further granularity of sales opportunity progress through its lifecycle. The list of stages is defined by customer (tenant) in administration panel.
probabilityVARCHAR(100)The probability of the sales opportunity is an estimated chance of winning the deal. The list of probabilities is defined by customer (tenant) in administration panel.
created_atTIMESTAMP_TZ(9)The timestamp with time zone offset of sales opportunity creation.
deleted_atTIMESTAMP_TZ(9)The timestamp with time zone offset of sales opportunity deletion.
closed_atTIMESTAMP_TZ(9)DEPRECATED: Please use due_at column. The timestamp with time zone offset when the sales opportunity is due to be completed.
due_atTIMESTAMP_TZ(9)The timestamp with time zone offset when the sales opportunity is due to be completed.
completion_noteVARCHAR(6000)The completion details of the sales opportunity.
noteVARCHAR(6000)The notes of the sales opportunity.
owner_nameVARCHAR(100)The owner of the sales opportunity.
flagVARCHAR(100)The current flag applied to the sales opportunity. The flag is a marker or label used to categorise, prioritise, or highlight specific sales opportunities.
flag_colourVARCHAR(40)The textual representation of the current flag colour set in the flag definition settings.
flag_commentVARCHAR(2000)Additional comments or notes associated with the current flag.
flag_dateTIMESTAMP_TZ(9)The timestamp with the timezone offset of when the current flag was set to take effect.
flag_ownerVARCHAR(100)The person responsible for setting or managing a flag. It is used to assign ownership and accountability for flagged items.
contactVARCHAR(256)The contact of the sales opportunity.
contact_groupVARCHAR(100)The group of the contact of the sales opportunity.
parent_contactVARCHAR(256)The parent contact of the sales opportunity.
contact_personVARCHAR(256)The contact person of the sales opportunity.
geolocation_latitudeFLOATThe geolocation latitude of the sales opportunity contact. This is the latitude of the centroid of the shape describing contact location on the map.
geolocation_longitudeFLOATThe geolocation longitude of the sales opportunity contact. This is the longitude of the centroid of the shape describing contact location on the map.
geolocationVARCHAR(64)The geolocation of the sales opportunity contact. This is textual format concatenating geolocation_latitude and geolocation_longitude joined with comma.
subjectVARCHAR(100)The subject of the sales opportunity.
currencyVARCHAR(3)ISO 4217 currency code of the sales opportunity.
costNUMBER(10,2)The cost of the sales opportunity in the currency defined in the 'currency' column.
cost_GBPNUMBER(10,2)The cost of the sales opportunity converted into GBP based on the exchange rate on the day that the sales opportunity is created.
total_net_amountNUMBER(10,2)Total net amount of the sales opportunity in the currency defined in the 'currency' column.
total_net_amount_GBPNUMBER(10,2)Total net amount of the sales opportunity converted into GBP based on the exchange rate on the day that the sales opportunity is created.
total_gross_amountNUMBER(10,2)Total gross amount of the sales opportunity in the currency defined in the 'currency' column.
total_gross_amount_GBPNUMBER(10,2)Total gross amount of the sales opportunity converted into GBP based on the exchange rate on the day that the sales opportunity is created.
profitNUMBER(11,2)The profit of the sales opportunity in the currency defined in the 'currency' column.
profit_GBPNUMBER(10,2)The profit of the sales opportunity converted into GBP based on the exchange rate on the day that the sales opportunity is created.
marginNUMBER(10,2)The margin of the sales opportunity.
_contact_idNUMBER(38,0)The identifier of the contact associated with the sales opportunity.
_last_sync_atTIMESTAMP_TZ(9)The timestamp with time zone offset of when the sales opportunity record was last refreshed.